using System;
using System.Collections.Generic;
using System.Text;

namespace Qibla.Library
{
    public class PointD
    {
        private float _heading;
        public double X;
        public double Y;
        public PointD(double longitude, double lattitude)
        {
            X = longitude;
            Y = lattitude;
        }

        public PointD()
        {

        }

        public override string ToString()
        {
            return string.Format("lat:{0}, long:{1}", Y, X);
        }


        public double Longitude
        {
            get
            {
                return X;
            }
        }

        public double Lattitude
        {
            get
            {
                return Y;
            }
        }

        public float Heading
        {
            get
            {
                return _heading;
            }
            set
            {
                _heading = value;
            }
        }
    }
}
